package oa.dao;

import java.util.List;

import oa.bean.TSystem;
import oa.bean.TUser;

import org.apache.ibatis.annotations.Param;

public interface UserMapper {
	TUser login(@Param("username") String username);
	List<String> getQxcd(@Param("username") String username);
	TSystem getsystem();
	int updatesystem(TSystem sys);
	List<TUser> listuser(@Param("username") String username, @Param("fullname") String fullname, @Param("oskey") String oskey, @Param("deptid") Integer deptid);
	TUser getuser(@Param("userid") int userid);
	int adduser(TUser user);
	int updateuser(TUser user);
	int deluser(@Param("userid") int userid);
	int updateuserzt(@Param("userid") int userid, @Param("jinyong") int jinyong);
	int updateuserlogin(@Param("username") String username, @Param("lastlogin") String lastlogin);
}
